home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
txtedtrs
/
st_edt
/
stedt.doc
< prev
next >
Wrap
Text File
|
1995-05-02
|
11KB
|
336 lines
The EDT-like keypad commands are:
DELETE Delete character
BACKSPACE Backup to beginning of line
CTRL/D Decrease tab level
CTRL/E Increase tab level
CTRL/R Refresh screen
CTRL/T Adjust tabs
CTRL/Z Exit and save file
x-----------------------------------x
x x x FNDNXT x DEL L x
x GOLD x HELP x x x
x x x FIND x UND L x
x-----------------------------------x
x x SECT x APPEND x DEL W x
x x x x x
x x x REPLACEx UND W x
x-----------------------------------x
x ADVANCEx BACKUP x CUT x DEL C x
x x x x x
x BOTTOM x TOP x PASTE x UND C x
x-----------------------------------x
x WORD x EOL x x x
x x x x x
xCHNGCASEx DEL EOLx SPECINSx x
x--------------------------- x
x LINE xSETMARK x x
x x x SUBS x
x OPEN LINE x RESET x x
x-----------------------------------x
GOLD - ( ( )
The Gold key lets you use the lower function of the editing keys displayed
above. To use: press the GOLD key then the key you wish to use.
You can also use the GOLD key to enter numeric arguments for a function.
Press GOLD and then the main keyboard numeric keys, followed by the key
(function) to which the counts should apply.
FNDNXT - ( / )
Searches for the next occurrence of the search string previously entered with
the FIND key. The direction of the search depends on the ADVANCE or BACKUP.
FIND - (GOLD /)
Searches for an occurrence of a string. Press the FIND key and then enter the
string using the main keyboard. End the string by pressing either the ADVANCE
or BACKUP key to set the direction of the search, or the RETURN key to search in
the current direction.
DEL L - ( * )
Deletes text from the cursor position to the end of the current line, INCLUDING
the line terminator. The deleted text is saved in the delete line buffer.
UND L - (GOLD *)
Inserts the contents of the delete line buffer directly to the left of the
cursor.
SECT - (8)
Moves the cursor forward or backward, depending on the
current direction, one screen.
APPEND - (9)
Moves the selected range to the end of the PASTE buffer. The selected range
is all the text between the selected position (see SET MARK) and the current
cursor position. If no range has been made and the cursor is positioned on the
current search string, that string is appended.
REPLACE - (GOLD 9)
Deletes the selected range and replaces it with the contents of the PASTE
buffer.
DEL W - (-)
Deletes text from the cursor to the beginning of the next word, storing the text
in the delete word buffer.
UND W - (GOLD -)
Inserts the contents of the delete word buffer directly to the left of the
cursor.
ADVANCE - (4)
Sets the current direction to forward.
BOTTOM - (GOLD 4)
Positions the cursor at the end of the text buffer.
BACKUP - (5)
Sets the cursor direction to backward.
TOP - (GOLD 5)
Positions the cursor at the beginning of the text buffer.
CUT - (6)
Moves the selected range to the PASTE buffer. The select range is all the text
between the selected position (see SET MARK) and the current cursor position. If
no range has been made and the cursor is positioned on the current search
string, that string is cut. Each time CUT is used, the previous contents of the
PASTE buffer are DISCARDED.
PASTE - (GOLD 6)
Inserts the contents of the PASTE buffer directly to the left of the cursor.
DEL C - ( + )
Deletes the character on which the cursor is positioned and saves it in the
delete character buffer.
UND C - (GOLD +)
Inserts the contents of the delete character buffer directly to the left of the
cursor.
WORD - (1)
Moves the cursor forward or backward by a word, depending on the current
direction (see ADVANCE and BACKUP).
CHNGCASE - (GOLD 1)
Changes the case of a character
EOL - (2)
Moves the cursor forward or backward to the nearest end of line, depending on
current direction.
DEL EOL - (GOLD 2)
Deletes all characters to the right of the cursor in the current line, including
the character on which the cursor is positioned, up to, but not including the
line terminator.
SPECINS - (GOLD 3)
This is equivalent to the quote character in EMACS.
SUBS - (GOLD ENTER)
Deletes the search string, replaces it with the contents of the PASTE buffer,
and finds the next occurrence of the string. To use:
1. Press SET MARK.
2. Type the new text.
3. Press CUT.
4. Press FIND.
5. Enter the text you wish to replace.
Each time you press SUBS, EDMACS makes one substitution and finds the next
occurrence of the search string. You can use a repeat count for multiple
substitutions.
Moves the selected range to the end of the PASTE buffer. The selected range is
all the text between the selected position (see SET MARK) and the current cursor
position. If no selected range has been made and the cursor is positioned on
the current search string, that string is appended.
LINE - (0)
Moves the cursor forward or backward to the nearest beginning of a line,
depending on the current direction (see ADVANCE and BACKUP).
OPEN LINE - (GOLD 0)
Breaks the current line into two lines. The break is placed after the cursor
and leaves the cursor position unchanged. Pressing the OPEN LINE key when the
cursor is at the beginning of a line creates a new blank line.
SET MARK - (.)
Marks one end of a selected range. A selected range is a block of text on which
various operations (such as CUT, APPEND, or FILL) can be performed. To create a
selected range:
1. Move the cursor to either the beginning or end of the text you
wish to select.
2. Press the SET MARK key.
3. Move the cursor to the opposite end of the text.
You can then perform the desired operation on the range.
RESET - (GOLD .)
Cancels the effect of the GOLD key if it was pressed by mistake, cancels a
selected range, or cancels any partly entered command string. Also sets the
current direction to forward.
EXIT - (CTRL/Z)
Exits and saves buffer(s)
TAB ADJUST - (CTRL T)
Indents the selected range. To use the key:
1. Create a selected range of the text you wish to adjust.
2. Enter a level count using the GOLD key. To decrease the tab
indentation level, precede the count with a minus sign. The default
level count is 1.
3. Use the tab adjust key.
The effect of CTRL T is to increase or decrease the indentation level of the
selected range by the number of tabs specified in the level count. You must have
a SET TAB value in effect to use GOLD T.
TAB DECREASE - (CTRL/D)
Used to decrease the indentation level counter. You must have a SET TAB in
effect to use CTRL/D.
TAB INCREASE - (CTRL/E)
Used to increase the indentation level counter. You must have a SET TAB in
effect to use CTRL/E.
REFRESH - (CTRL/R)
Refreshes the screen display. The screen becomes blank and then the characters
in the buffer reappear, minus extraneous characters, such as system messages.
The cursor remains in the same location.
-------------------------------------------------------------------------------
The EMACS-like key sequences are:-
WINDOW CONTROL
^X 1 display only current window
^X 2 split current window (multiple window are permitted)
^X N move to Next window
^X P move to Previous window
^X Z enlarge current window by one or repeat count lines
^X ^Z reduce current window by one or repeat count lines
^X ^N scroll current window up one or by repeat count lines
^X ^P scroll current window down one or by repeat count lines
FILE CONTROL
^Z save file in current buffer and exit
^X ^C Exit without saving buffers.
^X ^R Read a file into current buffer
^X ^S Save current buffer into its file
^X ^V Visit a file. Read file and display in current window
^X ^W Write buffer to file
^X ^F changes current buffer's filename to argument
BUFFER CONTROL
^X B prompt for new Buffer
^X ^B show active Buffers
^X ^K Kill a buffer
DELETING
^X ^O Kill surrounding blank lines
^X ^K Kill a buffer
CASE CONTROL
<esc> C Capitalize word
<esc> L Lowercase next word
<esc> U Uppercase next word
^X ^L Lowercase selected region
^X ^U Uppercase selected region
MISC
TAB to set tab do GOLD <arg> TAB, where arg is new tab stop.
^G abort any command in progress
^T Transpose characters
<esc> ! move current line to top of window
<esc> W Copy selected range to paste buffer, do not cut.
^X ^X swap mark with cursor position
^X F Set Fill column.
Edmacs uses EDT keypad commands, just like EDT except the following:-
Differences
===========
No page command (Keypad 7). - search for ^L instead.
No command (Gold Keypad 7). - use emacs commands.
No fill (Gold Keypad 8). - use ^X F to set wrap column
Change case works for 1 char. - use case control for emacs.
No help Key.
No wide screen, or shift screen left/right.
Cursor tracking on scrolling is different.
No inverse video with SET MARK
The status line shows current buffer, current file name, read/write status,
advance/backup status.
Additional functions
====================
Gold I - Inspect a file
Splits screen and reads in a file to upper window for read only.
Gold U - Update a file
Splits screen and reads in a file for update to upper screen.
Gold W - Toggles between split screen and full screen.
Gold UP - Moves cursor into top window.
Gold DN - Moves cursor into bottom (main) window.
Gold L - starts a learn macro sequence.
Gold R - terminates a learn macro sequence.
PF2 - executes the learned sequence.
Gold = - show cursor position.
Gold ! - spawn command (VMS only).
Gold S - spawn cli (VMS only).